package samples.spring.step2.beans;

/**
 * @author Zi Lai Ye
 * @date 2017/4/12
 */
public class LoginModel implements PasswordDecodable {
    public String getPassword() {
        return password;
    }

    private String password;

    public LoginModel() {
    }

    public LoginModel(String password) {
        this.password = password;
    }

    @Override
    public String getEncodedPassword() {
        return this.password;
    }

    @Override
    public void setDecodedPassword(String password) {
        this.password = password;
    }
}
